package com.mo.action;

import cn.hutool.core.thread.ThreadUtil;

import javax.annotation.PostConstruct;

/**
 * @author 墨渐生微
 * @program mo-all
 * @apiNote
 * @since 2022/6/23
 */
//@Component
public class TestBean {

    @PostConstruct
    public void init() {
        ThreadUtil.newThread(() -> {
            while (true) {
                System.out.println(1);
            }
        }, "never 100%").start();
    }

}
